From f29c597324506ed49d26ff8dbc51ddf0115a8304 Mon Sep 17 00:00:00 2001 From: Sven Eckelmann Date: Sun, 23 Nov 2025 16:59:19 +0100 Subject: [PATCH] realtek: Start function scope on newline In contrast to array initializations, function scopes must start on a newline and not at the a line which defines the function parameters. Signed-off-by: Sven Eckelmann Link: https://github.com/openwrt/openwrt/pull/20906 Signed-off-by: Hauke Mehrtens --- target/linux/realtek/files-6.12/arch/mips/rtl838x/prom.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target/linux/realtek/files-6.12/arch/mips/rtl838x/prom.c b/target/linux/realtek/files-6.12/arch/mips/rtl838x/prom.c index a2476e40a9..078978e1b8 100644 --- a/target/linux/realtek/files-6.12/arch/mips/rtl838x/prom.c +++ b/target/linux/realtek/files-6.12/arch/mips/rtl838x/prom.c @@ -212,7 +212,8 @@ static void __init parse_model(uint32_t model) soc_info.name = soc_name; } -static void __init rtl83xx_set_system_type(void) { +static void __init rtl83xx_set_system_type(void) +{ char revision = '?'; char *es = ""; -- 2.30.2